<div class="articulos view">
<h2><?php  __('Articulo');?></h2>
        <?php  echo $this->Html->image('img_articulos/'.$articulo['Articulo']['imagen'], array('alt' => $articulo['Articulo']['titulo'])); ?>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $articulo['Articulo']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Titulo'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $articulo['Articulo']['titulo']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Categoria'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $articulo['Articulo']['categoria']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Contenido'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $articulo['Articulo']['contenido']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Articulo', true), array('action' => 'edit', $articulo['Articulo']['id'],$categoria)); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Articulo', true), array('action' => 'delete', $articulo['Articulo']['id'],$categoria), null, sprintf(__('Are you sure you want to delete # %s?', true), $articulo['Articulo']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Articulos', true), array('action' => 'index',$categoria)); ?> </li>
		<li><?php echo $this->Html->link(__('New Articulo', true), array('action' => 'add', $categoria)); ?> </li>
		
	</ul>
</div>
<!--<div class="related">
	<h3><?php __('Related Imagens');?></h3>
	<?php if (!empty($articulo['Imagen'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		
		<th><?php __('Url'); ?></th>
		<th><?php __('Articulo Id'); ?></th>
		<th><?php __('Album Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($articulo['Imagen'] as $imagen):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			
			<td><?php echo $imagen['url'];?></td>
			<td><?php echo $imagen['articulo_id'];?></td>
			<td><?php echo $imagen['album_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'imagens', 'action' => 'view', $imagen['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'imagens', 'action' => 'edit', $imagen['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'imagens', 'action' => 'delete', $imagen['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $imagen['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Imagen', true), array('controller' => 'imagens', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>-->
